Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / app / src / main / java / com / geeksville / mesh / service / BootCompleteReceiver.kt

Displaying Raw • Download

app/src/main/java/com/geeksville/mesh/service/BootCompleteReceiver.kt ui_message_list (be3f882f) Text, 1.25 KB

T8b949e/*
* Copyright (c) 2025 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

Tff7b72package T7ee787com.geeksville.mesh.service

Tff7b72import T7ee787android.content.BroadcastReceiver
Tff7b72import T7ee787android.content.Context
Tff7b72import T7ee787android.content.Intent
Tff7b72import T7ee787com.geeksville.mesh.android.Logging


Tff7b72class T56d364BootCompleteReceiver Tb4b4b4: Te6edf3BroadcastReceiverTb4b4b4(Tb4b4b4)Tb4b4b4, Te6edf3Logging Tb4b4b4{
Tff7b72override Tff7b72fun Td2a8ffonReceiveTb4b4b4(Te6edf3mContextTb4b4b4: Te6edf3ContextTb4b4b4, Te6edf3intentTb4b4b4: Te6edf3IntentTb4b4b4) Tb4b4b4{
T8b949e// Verify the intent action
Tff7b72if Tb4b4b4(Te6edf3IntentTb4b4b4.Te6edf3ACTION_BOOT_COMPLETED Tff7b72!Tff7b72= Te6edf3intentTb4b4b4.Te6edf3actionTb4b4b4) Tb4b4b4{
Tff7b72return
Tb4b4b4}
T8b949e// start listening for bluetooth messages from our device
Te6edf3MeshServiceTb4b4b4.Te6edf3startServiceLaterTb4b4b4(Te6edf3mContextTb4b4b4)
Tb4b4b4}
Tb4b4b4}

Served by rngit 1.5.1 - Generated in 0.04s